import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {AuthGuard} from "../../service/authGuard";
import {AboutMeComponent} from "./about-me.component";

const routes: Routes = [
    {
      path: '',
      component: AboutMeComponent,
      canActivate: [AuthGuard],
      data: {
        title: 'AboutMe'
      }
    },
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class AboutMeRoutes {
}
